package com.cssy.authority.dao;


import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import com.cssy.authority.entity.Organization;
import com.cssy.authority.entity.OrganizationExample;

public interface OrganizationDAO {
    void insert(Organization record) throws SQLException;

    int updateByPrimaryKey(Organization record) throws SQLException;

    int updateByPrimaryKeySelective(Organization record) throws SQLException;

    List selectByExample(OrganizationExample example) throws SQLException;

    Organization selectByPrimaryKey(Long id) throws SQLException;

    int deleteByExample(OrganizationExample example) throws SQLException;

    int deleteByPrimaryKey(Long id) throws SQLException;

    int countByExample(OrganizationExample example) throws SQLException;

    int updateByExampleSelective(Organization record, OrganizationExample example) throws SQLException;

    int updateByExample(Organization record, OrganizationExample example) throws SQLException;
    
}